package com.bestcem.xm.qdes.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ds_qdes_projectlang")
public class QdesProjectLang extends BaseEntity {

    @TableId(value = "id")
    private String id;

    /**
     * 问卷id
     */
    @TableField(value = "project_id")
    private String projectId;

    /**
     * 关闭、开启
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 语言名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 具有唯一性；True：主语言，False：非主语言
     */
    @TableField(value = "main_lang")
    private Boolean mainLang;

    /**
     * 编辑端当前设置语言，具有唯一性。
     */
    @TableField(value = "edit_lang")
    private Boolean editLang;

    /**
     * 提示语言
     */
    @TableField(value = "tip_lang")
    private Integer tipLang;

    /**
     * 语言顺序
     */
    @TableField(value = "lang_order")
    private Integer langOrder;
}